#ifndef MEDIALIB_H
#define MEDIALIB_H

#include <proto.h>

int medialib_get_chnlist(struct chn_entry_st **res, int *chn_nr);
int medialib_free_chnlist(struct chn_entry_st *res);

ssize_t medialib_read_chn(chnid_t, void *ptr, size_t size);

#endif

